package com.wlyuan.open.scanner.utils.enums;


import com.wlyuan.core.marker.NamedValue;
import com.wlyuan.core.marker.NamedValueMap;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

import java.util.Map;

/**
 * @author lijing
 */
@RequiredArgsConstructor(access = AccessLevel.PRIVATE)
@Getter
public enum TenantConfigTypeEnum implements NamedValue<Integer> {
    DELIVER(1, "送货时效"),
    RECEIPT(2, "回单时效"),
    ;

    private final Integer value;
    private final String name;

    private static final Map<Integer, TenantConfigTypeEnum> MAP = new NamedValueMap<>(TenantConfigTypeEnum.class);
}
